<div class="row">
	<div class="col-md-12">
		<div class="panel panel-info">
			<div class="panel-body">
				
			 <div class="row">
              <div class="col-md-12">
                    <div class="panel panel-sky">
                        <div class="panel-heading">
                            <h4>动感单车预约上课设置</h4>
                            <div class="options">   
                                <a href="javascript:;" class="panel-collapse"><i class="fa fa-chevron-down"></i></a>
                            </div>
                        </div>
                        <div class="panel-body collapse in">
                            <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered datatables" id="example">
                                <thead>
                                    	<tr>
                                            <th class="col-sm-1">场次</th>
                                            <th class="col-sm-1">预约开始</th>
                                            <th class="col-sm-1">预约结束</th>
                                            <th class="col-sm-1">上课开始</th>
                                            <th class="col-sm-1">上课结束</th>
                                            <th class="col-sm-1">限定人数</th>
                                            <th class="col-sm-1">操作</th>
                                        </tr>
                                </thead>
                                <tbody>
                                	{foreach name="list" item="v" key="k"}
                                	    <tr >
                                            <td class="col-sm-1">{$v.class_name}</td>
                                            <td class="col-sm-1"><input type="text" value="{$v.order_start_time}"  id="order_start_time_{$k}" class="form-control alarm" /></td>
                                            <td class="col-sm-1"><input type="text" value="{$v.order_end_time}"  id="order_end_time_{$k}" class="form-control alarm" /></td>
                                            <td class="col-sm-1"><input type="text" value="{$v.class_start_time}"  id="class_start_time_{$k}" class="form-control alarm" /></td>
                                            <td class="col-sm-1"><input type="text" value="{$v.class_end_time}"  id="class_end_time_{$k}" class="form-control alarm" /></td>
                                            <td class="col-sm-1"><input type="number"  id="pcount_{$k}" value="{$v.pcount}"   class="form-control"></td>
                                            <td class="col-sm-1">
                                            	<button  class="btn btn-info saveset" data-step="{$k}"><i class="fa fa-plus"></i><span class="bold">&nbsp;&nbsp;保存</span></button>
                                            	<button  class="btn btn-danger clearset" data-step="{$k}"><i class="fa fa-trash-o"></i><span class="bold">&nbsp;&nbsp;清空</span></button>
                                            </td>
                                        </tr>

                                	{/foreach}
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            
            
            <div class="row">
              <div class="col-md-12">
                    <div class="panel panel-sky">
                        <div class="panel-heading">
                            <h4>预约设备编号设置</h4>
                            <div class="options">   
                                <a href="javascript:;" class="panel-collapse"><i class="fa fa-chevron-down"></i></a>
                            </div>
                        </div>
                        <div class="panel-body collapse in">
                            <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered datatables" id="example">
                                <thead>
                                    	<tr>
                                    		<th class="col-sm-1">序号</th>
                                            <th class="col-sm-1">设备地址编号</th>
                                            <th class="col-sm-2">设备名称</th>
                                            <th class="col-sm-1">操作</th>
                                        </tr>
                                </thead>
                                <tbody>
                                	    <tr >
                                            <td class="col-sm-1" ><input type="number"  id="device_no_1" value="{$device.device_no}"  readonly  class="form-control"></td>
                                            <td class="col-sm-1"><input type="number"  id="device_code_1" value="{$device.device_code}"   class="form-control"></td>
                                            <td class="col-sm-1"><input type="text"  id="device_name_1" value="{$device.device_name}"   class="form-control"></td>
                                            <td class="col-sm-1">
                                            	<button  class="btn btn-info deviceset" data-step="1"><i class="fa fa-plus"></i><span class="bold">&nbsp;&nbsp;保存</span></button>
                                            	<button  class="btn btn-danger cleardevice" data-step="1"><i class="fa fa-trash-o"></i><span class="bold">&nbsp;&nbsp;清空</span></button>
                                            </td>
                                        </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
		</div>
	</div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}bike_order/index.js'></script>
